import React, { Component } from 'react'
import styles from './ElSearchHearder.module.scss'
import  {withRouter} from 'react-router-dom'
 class elSearchHearder extends Component {
    handleGotoIndex=(params) => {
        this.props.history.push('/home')
    }
    render() {
        return (
            <div>
               <div className={styles.searchBox}>
                <div className={styles.back} onClick={this.handleGotoIndex}>{"<"}</div>
                    <div className={styles.SearchHearder}>
                        搜索
                    </div>

               </div>
                
            </div>
        )
    }
}
export default withRouter(elSearchHearder)